A. ls chap*
B. ls chap[124]
C. ls – x chap0[124]
D. ls chap0[124]
Advertisement
Related Mcqs:
- Which command is used to list out all the hidden files along with the other files ?
- A. ls -l B. ls -x C. ls -F D. ls -a...
- Which command is used to delete all files in the current directory as well as all files and sub-directories in its subdirectories ?
- A. rm * B. rm -r * C. rm all D. rm *.*...
- Which option is used with cmp command to give a detailed list of the byte number and the differing bytes in octal for each character that differs in both the files ?
- A. -l B. -d C. -r D. -b...
- Which command is used to list all the files with extension .lst ?
- A. ls -l *.lst B. ls lst* C. ls *.* D. ls *[lst]...
- What command is used to count the number of files in the current directory by using pipes ?
- A. ls | ws – c B. ls | wc – w C. ls | wc – l D. ls | wc...
- Which command is used to link the files ?
- A. lk B. ln C. cp D. tar...
- What command is used to compare the files ?
- A. ccp B. du C. cmp D. comp...
- Which command is used to change protection mode of files starting with the string emp and ending with 1,2, or 3 ?
- A. chmod u+x emp[1-3] B. chmod 777 emp* C. chmod u+r ??? emp D. chmod 222 emp?...
- Which command is used to concatenate all files beginning with the string ’emp’ and followed by a non-numeric characters ?
- A. cat emp[!0-9] B. more [emp][!0-9] C. cat emp[x-z] D. cat emp[a-z]...
- What command is used to remove files ?
- A. dm B. rm C. delete D. erase...
Advertisement